 % Copyright (C) 2012 	Paul Bovbel, paul@bovbel.com
 % 						Richard Abrich, abrichr@gmail.com
 %
 % This file is part our empirical study of boosting algorithms (http://code.google.com/p/boosting-study/)
 % 
 % This is free software; you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
 % the Free Software Foundation; either version 3 of the License, or
 % (at your option) any later version.
 % 
 % This source code is distributed in the hope that it will be useful,
 % but WITHOUT ANY WARRANTY; without even the implied warranty of
 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 % GNU General Public License for more details.
 % 
 % You should have received a copy of the GNU General Public License
 % along with this source code. If not, see http://www.gnu.org/licenses/

clear;
%--------Default parameters
%choose data
dataset = 'adult';

%type_classifier = 'perceptron';
type_classifier = 'tree';
mix_weak_learners = false;

type_boost = 'adaboost';
%type_boost = 'arcgv';
%type_boost = 'arcgvmax';
%type_boost = 'smooth';

cap_min_margin = -0.5;

weak_learners = 20;

epochs = 3;

perceptron_batch = false;

tree_size = 0;

split_cont_var = 8;

block_feature_reuse = true;

%test
test = 0;
boost( test, dataset, type_classifier, mix_weak_learners, type_boost, weak_learners, cap_min_margin, epochs, perceptron_batch, tree_size, split_cont_var, block_feature_reuse )